package com.vitabuybuy.tv.dto;

import com.vitabuybuy.tv.utils.LanaugeUtils;

import java.util.List;

/**
 * 作者：SimGa
 * 日期：2021/1/13
 * 时间：15:19
 * 包名：com.vitabuybuy.tv.dto
 */
public class DredgeStroeInfoDto {

    /**
     * holdingIdentityImage : http://106.55.47.138/attachment/png/482/1790_18014.png
     * identityFrontImage : http://106.55.47.138/attachment/png/7131/1788_6231.png
     * address : 55656666
     * identityBackImage : http://106.55.47.138/attachment/png/3241/1789_11557.png
     * contactName : 刘某人
     * name : 樱桃旗舰店
     * type : 个人
     * category : {"id":196}
     * contactPhone : 15622219963
     * region : {"id":267}
     */

    private String holdingIdentityImage;
    private String identityFrontImage;
    private String address;
    private String identityBackImage;
    private String businessLicenseImage;
    private String bankLicenseImage;
    private String contactName;
    private String name;
    private String type;
    private String status;
    private String refuseReason;
    private String phone;
    /**
     * id : 196
     */

    private CategoryBean category;
    private String contactPhone;
    /**
     * id : 267
     */

    private List<RegionBean> regionList;

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getRefuseReason() {
        return refuseReason;
    }

    public void setRefuseReason(String refuseReason) {
        this.refuseReason = refuseReason;
    }

    public String getHoldingIdentityImage() {
        return holdingIdentityImage;
    }

    public void setHoldingIdentityImage(String holdingIdentityImage) {
        this.holdingIdentityImage = holdingIdentityImage;
    }

    public String getIdentityFrontImage() {
        return identityFrontImage;
    }

    public void setIdentityFrontImage(String identityFrontImage) {
        this.identityFrontImage = identityFrontImage;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getIdentityBackImage() {
        return identityBackImage;
    }

    public void setIdentityBackImage(String identityBackImage) {
        this.identityBackImage = identityBackImage;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public CategoryBean getCategory() {
        return category;
    }

    public void setCategory(CategoryBean category) {
        this.category = category;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getBusinessLicenseImage() {
        return businessLicenseImage;
    }

    public void setBusinessLicenseImage(String businessLicenseImage) {
        this.businessLicenseImage = businessLicenseImage;
    }

    public String getBankLicenseImage() {
        return bankLicenseImage;
    }

    public void setBankLicenseImage(String bankLicenseImage) {
        this.bankLicenseImage = bankLicenseImage;
    }

    public List<RegionBean> getRegionList() {
        return regionList;
    }

    public void setRegionList(List<RegionBean> regionList) {
        this.regionList = regionList;
    }

    public static class CategoryBean {
        private int id;
        private String name;

        public String getName() {
            return LanaugeUtils.returnStrByLocation(name);
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }
    }

    public static class RegionBean {
        public RegionBean(int id) {
            this.id = id;
        }

        public RegionBean() {
        }

        private int id;
        private String name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return LanaugeUtils.returnStrByLocation(name);
        }

        public void setName(String name) {
            this.name = name;
        }
    }

    @Override
    public String toString() {
        return "DredgeStroeInfoDto{" +
                "holdingIdentityImage='" + holdingIdentityImage + '\'' +
                ", identityFrontImage='" + identityFrontImage + '\'' +
                ", address='" + address + '\'' +
                ", identityBackImage='" + identityBackImage + '\'' +
                ", businessLicenseImage='" + businessLicenseImage + '\'' +
                ", bankLicenseImage='" + bankLicenseImage + '\'' +
                ", contactName='" + contactName + '\'' +
                ", name='" + name + '\'' +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                ", refuseReason='" + refuseReason + '\'' +
                ", category=" + category +
                ", contactPhone='" + contactPhone + '\'' +
                ", regionList=" + regionList +
                '}';
    }
}
